Skip to content

pkg_in_pipe: log the progress, the cache usage and the source problems during the generation - #849

Merged
glehmann merged 2 commits into
gln/json-report-output-onkpfrom
gln/pkg-in-pipe-logging-debug-zvvk
Oct 8, 2026
Merged

glehmann merged 2 commits into
gln/json-report-output-onkpfrom
gln/pkg-in-pipe-logging-debug-zvvk

Conversation

@glehmann

@glehmann glehmann commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Add a --debug option and log the koji tag and the build being processed, whether
values come from the cache or are fetched again, and warn when the plane tickets
or github can't be reached, using the same logger setup as gen-dnf-proxy.py.

Signed-off-by: Gaëtan Lehmann gaetan.lehmann@vates.tech

This PR is part of a tree containing 4 PRs:

  1. master
  2. pkg_in_pipe: write a machine readable version of the report #839 → master
  3. "pkg_in_pipe: log the progress, the cache usage and the source problems during the generation" (this PR) → pkg_in_pipe: write a machine readable version of the report #839
  4. pkg_in_pipe: move the plane cards of the builds of a tag to a given state #840 → pkg_in_pipe: log the progress, the cache usage and the source problems during the generation #849
  5. pkg_in_pipe: generate a draft of the release post from the report #841 → pkg_in_pipe: log the progress, the cache usage and the source problems during the generation #849

It's meant to generate a message in the report, not block the report
generation

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
…s during the generation

Add a --debug option and log the koji tag and the build being processed, whether
values come from the cache or are fetched again, and warn when the plane tickets
or github can't be reached, using the same logger setup as gen-dnf-proxy.py.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
@glehmann
glehmann force-pushed the gln/pkg-in-pipe-logging-debug-zvvk branch from e193d96 to 2a4af26 Compare September 29, 2026 19:21
@glehmann
glehmann force-pushed the gln/json-report-output-onkp branch from 8b08ba1 to bc4028b Compare September 29, 2026 19:21
@glehmann
glehmann requested a review from a team October 4, 2026 16:28
except Exception as e:
issues = []
raise
log.warning("failed to load the tickets from plane: %s", e)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldnt it be an error ?

@glehmann glehmann Oct 8, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could have been, but we decided to create a panel in the html report that clearly announces the problem. The warning here is just the same, but for the developer

@glehmann
glehmann merged commit d326ff5 into gln/json-report-output-onkp Oct 8, 2026
4 checks passed
@glehmann
glehmann deleted the gln/pkg-in-pipe-logging-debug-zvvk branch October 8, 2026 07:46
@glehmann
glehmann restored the gln/pkg-in-pipe-logging-debug-zvvk branch October 8, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants